﻿@model NextInventory.Model.User.RegisterModel

@{
    ViewBag.Title = "Register";
}
@using (Html.BeginForm("Register", "User", FormMethod.Post))
{
    @Html.ValidationSummary(true)
    <table border="0" cellpadding="0" cellspacing="0" id="id-form">
        <tr>
            <th>@Html.LabelFor(model => model.FirstName, new { valign = "top" })</th>
            <td>
                @Html.TextBoxFor(model => model.FirstName, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.FirstName)</td>
        </tr>
        <tr>
            <th>@Html.LabelFor(model => model.LastName, new { valign = "top" })</th>
            <td>
                @Html.TextBoxFor(model => model.LastName, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.LastName)</td>
        </tr>
        <tr>
            <th>@Html.LabelFor(model => model.UserName, new { valign = "top" })</th>
            <td>@Html.TextBoxFor(model => model.UserName, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.UserName)</td>
        </tr>
        <tr>
            <th>@Html.LabelFor(model => model.Email, new { valign = "top" })</th>
            <td>@Html.TextBoxFor(model => model.Email, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.Email)</td>
        </tr>
        <tr>
            <th>@Html.LabelFor(model => model.Password, new { valign = "top" })</th>
            <td>@Html.TextBoxFor(model => model.Password, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.Password)</td>
        </tr>
        <tr>
            <th>@Html.LabelFor(model => model.ConfirmPasswor, new { valign = "top" })</th>
            <td>@Html.TextBoxFor(model => model.ConfirmPasswor, new { @class = "inp-form" })
                @Html.ValidationMessageFor(model => model.ConfirmPasswor)</td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value="" class="form-submit" />
                <input type="reset" value="" class="form-reset" /></td>
        </tr>
    </table>
}

<!--  end forgotbox -->
